package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.suitang.data.*;
import com.yanqu.road.entity.activity.suitang.enums.eSuiTangWarType;
import com.yanqu.road.entity.scenecard.SceneCardPlayerData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class SceneCardBusiness {

    // 数据
    public static Map<Integer, SceneCardPlayerData> getSceneCardPlayerData() {
        return DaoHelper.getSceneCardDaoImpl().getSceneCardPlayerData();
    }

    public static boolean addSceneCardPlayerData(SceneCardPlayerData data) {
        return DaoHelper.getSceneCardDaoImpl().add(data);
    }

    public static boolean updateSceneCardPlayerData(SceneCardPlayerData data) {
        return DaoHelper.getSceneCardDaoImpl().update(data);
    }
}
